<template>
  <NuxtLayout>
    <NuxtPage></NuxtPage>
  </NuxtLayout>
</template>

<script setup>
import useLocal from '~/store/useLocal'
const local = useLocal()
const config = useRuntimeConfig()
onMounted(() => {
  local.changeLocale(localStorage.getItem(config.public.NUXT_WEB_LOCAL))
})
</script>
